﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using CottagesOfHope.Core.Models;

namespace CottagesOfHope.Core.Concrete
{
    public class CottagesOfHopeDb : DbContext
    {
        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<Profile> Profiles { get; set; }
        public DbSet<User> User { get; set; }
        public CottagesOfHopeDb()
        {
//#if(DEBUG)
//            var initializer = new DropCreateDatabaseIfModelChanges<CottagesOfHopeDb>();
//            Database.SetInitializer(initializer);
//#endif
        }

        //public DbSet<Admin_Comments> Admin_Comcments { get; set; }
        //public DbSet<CheckPoints> CheckPoints { get; set; }
        //public DbSet<EventInfo> EventInfo { get; set; }
        //public DbSet<Events> Events { get; set; }
        //public DbSet<Milestones> Milestones { get; set; }
        //public DbSet<Profile> Profile { get; set; }
        //public DbSet<Survey> Survey { get; set; }
        public DbSet<Tasks> Tasks { get; set; }
        //public DbSet<UserLog> UserLog { get; set; }
    }
}
